const StaticServer = require('../server');
var path = require('path');

var basePath = process.cwd();

var staticServer = new StaticServer(path.join(basePath, 'app/tests/test_io'));

let host = staticServer.start('psm').then(server => {
  setTimeout(() => {
    server.shutdown()
      .catch(err => console.error(err));
  }, 3e3);
});
